#!/usr/bin/python
# -*- encoding:utf-8 -*-

"""
    提供自定义异常类，在满足某一条件时触发
"""


# 让MyException类继承Exception
class NPException(Exception):
    def __init__(self, info: str):
        self.info = info
